from minio import Minio

"""
minio 配置信息
"""

# ENDPOINT = "60.204.136.208:9000"
# ACCESS_KEY = "76bNFwQCKZTg7RtAGXJH"
# SECRET_KEY = "4WKXAYveK2gGskLOCDIKiNMLzJKxEbLwWWz2ibEB"

# 云服务器过期了 换本机搭建 minio
ENDPOINT = "localhost:9000"
ACCESS_KEY = "root"
SECRET_KEY = "11111111"
BUCKET_PREFIX = "bucket-"
BUCKET_NAME = "bucket-ys-2"

minio_client = Minio(
    endpoint=ENDPOINT,
    access_key=ACCESS_KEY,
    secret_key=SECRET_KEY,
    secure=False  # false => http ; true => https
)
